﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Products.aspx.cs" Inherits="GomMinhLong.Products" %>

<%@ Register Src="~/Module/ucBreadcrumb.ascx" TagName="ucBreadcrumb" TagPrefix="uc7" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="under-right">
        <uc7:ucBreadcrumb ID="ucBreadcrumb" runat="server" />
        <ul class="ulxebanchay">
            <asp:Repeater runat="server" ID="rptSanPham">
                <ItemTemplate>
                <li>
                    <div class="product">
                        <p class="sp-title">
                            <a href="/Chi-Tiet-San-Pham/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>" title="<%#Eval("TenSanPham")%>">
                                <%#Eval("TenSanPham")%>
                            </a>
                        </p>
                        <a href="/Chi-Tiet-San-Pham/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>" title="<%#Eval("TenSanPham")%>">
                            <img class="sp-img" src="/Media/<%#Eval("HinhAnh")%>" style="border: 0px;" alt="<%#Eval("TenSanPham")%>" />
                        </a>
                        <div class="img-shadow">
                        </div>
                        <div style="float: left; width: 100%;">
                            <span class="product-price">
                                <%#Eval("DonGia", "{0:0,0} VNĐ")%>
                            </span>
                            <a href="/Chi-Tiet-San-Pham/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>" title="<%#Eval("TenSanPham")%>" class="sp-Cart"></a>
                        </div>
                        
                    </div>
                </li>

                </ItemTemplate>
            </asp:Repeater>
        </ul>
        <p style="float:left; width: 100%; text-align: center; color: Red;">
        <asp:Label ID="lbThongbao" runat="server" Visible="false"></asp:Label>
        </p>
        <div style="width: 100%; float: left; margin-top: 10px;">
            <div style="float: left; margin-left: 20px;">
                <asp:ImageButton ID="cmdPrev" Visible="false" OnClick="cmdPrev_Click" runat="server"
                    ImageUrl="~/images/prevpage.png" /></div>
            <div style="float: right; margin-right: 20px;">
                <asp:ImageButton ID="cmdNext" Visible="false" OnClick="cmdNext_Click" runat="server"
                    ImageUrl="~/images/nextpage.png" /></div>
        </div>
    </div>
</asp:Content>
